.top-bar {
  width: 100%;
  background-color: #242424;
}
.top-warp {
  width: 1100px;
  height: 70px;
  margin: 0 auto;
  border-bottom: 1px solid black;
  .logo {
    float: left;
    width: 176px;
    height: 69px;
    margin: 0;
    padding-left: 20px;
    background: url(~@/assets/images/header/topbar.png) 0 0;
    cursor: pointer;
    .logo-link {
      display: block;
      width: 100%;
      height: 100%;
    }
  }
  .top-nav li {
    float: left;
    height: 70px;
    padding: 0 19px;
    line-height: 69px;
    font-size: 14px;
    color: #ccc;
    cursor: pointer;
  }
  .top-nav li:hover {
    background-color: black;
    color: #fff !important;
  }
  .current-li {
    position: relative;
    background-color: black;
    color: #fff !important;
  }
  .current-li::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    margin-left: -6px;
    width: 12px;
    height: 7px;
    background: url(~@/assets/images/header/topbar.png) no-repeat -226px 0;
  }
  .download-client {
    position: relative;
    .hot {
      position: absolute;
      top: 21px;
      left: 100px;
      width: 28px;
      height: 19px;
      background: url(~@/assets/images/header/topbar.png) no-repeat -190px 0;
    }
  }
  .creator-center {
    display: block;
    float: right;
    margin: 19px 0 0 12px;
    padding-left: 4px;
    width: 90px;
    height: 32px;
    border: 1px solid #4f4f4f;
    border-radius: 32px;
    background-color: #242424;
    text-align: center;
    line-height: 33px;
    font-size: 12px;
    color: #ccc;
    cursor: pointer;
    &:hover {
      border: 1px solid #fff;
      text-decoration: none;
      color: #fff;
    }
  }
  .login {
    position: relative;
    float: right;
    height: 45px;
    margin: 19px 0 0 20px;
    padding: 0 22px 0 0;
    a {
      display: block;
      width: 28px;
      margin-top: 7px;
      color: #787878;
      cursor: pointer;
    }
    .user-avater {
      width: 30px;
      height: 30px;
      border-radius: 50%;
      overflow: hidden;
      img {
        width: 30px;
        height: 30px;
      }
    }
    &:hover .user-nav-wrap {
      display: block;
    }
    .user-nav-wrap {
      display: none;
      position: absolute;
      top: 40px;
      // right: -32px;
      left: -60px;
      .user-nav-list {
        position: absolute;
        background-color: #2b2b2b;
        // top: 40px;
        // right: -32px;
        z-index: 5;
        .item {
          background-color: #2b2b2b;
          width: 160px;
          margin: 0;
          &:hover {
            background-color: #4c4c4c;
            a {
              color: #fff;
            }
          }
          a {
            width: 160px;
            position: relative;
            height: 34px;
            line-height: 34px;
            // float: left;
            overflow: hidden;
            padding-left: 24px;
            color: #ccc;
            .icn {
              float: left;
              margin: 7px 10px 0 0;
              width: 18px;
              height: 18px;
              background: url(~@/assets/images/header/toplist.png) no-repeat 0 9999px;
              &.icn-home {
                background-position: 0 -80px;
              }
              &.icn-msg {
                background-position: -20px -120px;
              }
              &.icn-lv {
                background-position: 0 -100px;
              }
              &.icn-vip {
                background-position: 0 -221px;
              }
              &.icn-set {
                background-position: 0 -140px;
              }
              &.icn-verify {
                background-position: -20px -142px;
              }
              &.icn-out {
                background-position: 0 -200px;
              }
            }
            .title {
              float: left;
              width: 100px;
              text-align: left;
            }
          }
        }
        .set {
          border-top: 1px solid #232323;
        }
        .verify {
          border-bottom: 1px solid #232323;
        }
      }
      .arr {
        position: absolute;
        top: -8px;
        left: 68px;
        width: 14px;
        height: 8px;
        background: url(~@/assets/images/header/toplist.png) no-repeat 0 9999px;
        background-position: -20px 0;
      }
    }
  }
}

